求高手做WOW战士换武器的宏`

来源:百度知道 编辑:UC知道 时间:2024/05/02 12:19:39
战斗姿态拿 双手
防御姿态拿 主手和盾
狂暴姿态 双持
那些数字代表哪些位置````麻烦解释一下`````谢谢```````

1、从任意姿态任意武器切换到战斗姿态+双手武器
/script P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink("player",17));if(oi) then oi=(GetContainerItemLink(4,15));if(oi) then P(17);PC(4,7);else P(17);PC(4,15);end;P(16);PC(4,11);end
/施放 战斗姿态
2、从任意姿态任意武器切换到防御姿态+主手武器+盾牌
/script P=PickupInventoryItem;C=PickupContainerItem;oi=(GetInventoryItemLink("player",17));if(oi) then oi=(GetContainerItemLink(4,15));if(oi) then P(17);C(4,7);C(4,15);AutoEquipCursorItem();end;else C(4,11);P(16);C(4,15);P(17);end
/施放 防御姿态
3、从任意姿态任意武器切换到狂暴姿态+双持武器
/script P=PickupInventoryItem;PC=PickupContainerItem;oi=(GetInventoryItemLink("player",17));if(oi) then oi=(GetContainerItemLink(4,7));if(oi) then P(17);PC(4,15);PC(4,7);AutoEquipCursorItem();end;else PC(4,11);P(16);PC(4,7);P(17);end

具体参考:http://wow.duowan.com/2006-03-09/006T/305446